package com.service;

import com.javabean.Product;

import java.util.List;

public interface ProductService {


    List<Product> findAll();

    List<Product> findLikeName(String name);

    Product findById(int id);

    void edit(Product product);
    //添加
    void add(Product product);
    //删除
    void deleteById(int id);

    void deleteIds(List<Integer> ids);
}
